package com.graduate.examapp.model

import com.graduate.examapp.entity.HistoryData
import com.graduate.examapp.request.Response
import com.graduate.examapp.request.RetrofitRequest

class HistoryRepository {
    private val serviceEndpoint = RetrofitRequest.getService()

    suspend fun fetchHistoryData(insName: String): Response<List<HistoryData>> {
        return serviceEndpoint.fetchHistoryData(insName)
    }
}